Contextual user interface based on changes in environment

ABSTRACT

Privacy control for a contextual user interface based on environment is described. An assistant device can determine the context of its environment and, based on the context, determine a privacy expectation for a user. The assistant device can then generate a graphical user interface (GUI) based on the context and privacy expectation.

CLAIM FOR PRIORITY

This application claims priority to U.S. Provisional Patent Application No. 62/448,912 (Attorney Docket No. 119306-8040.US00), entitled “Contextual User Interface Based on Environment,” by Segal et al., and filed on Jan. 20, 2017. This application also claims priority to U.S. Provisional Patent Application No. 62/486,359 (Attorney Docket No. 119306-8061.US00), entitled “Contextual User Interface Based on Environment,” by Roman et al., and filed on Apr. 17, 2017. This application also claims priority to U.S. Provisional Patent Application No. 62/486,365 (Attorney Docket No. 119306-8062.US00), entitled “Contextual User Interface Based on Changes in Environment,” by Roman et al., and filed on Apr. 17, 2017. The content of the above-identified applications are incorporated herein by reference in their entirety.

TECHNICAL FIELD

This disclosure relates to user interfaces, and in particular a user interface that is adaptive based on the context of the environment.

BACKGROUND

The Internet of Things (IoT) allows for the internetworking of devices to exchange data among themselves to enable sophisticated functionality. For example, devices configured for home automation can exchange data to allow for the control and automation of lighting, air conditioning systems, security, etc. In the smart home environment, this can also include home assistant devices providing an intelligent personal assistant to respond to speech. For example, a home assistant device can include a microphone array to receive voice input and provide the corresponding voice data to a server for analysis to provide an answer to a question asked by a user. The server can provide that answer to the home assistant device, which can provide the answer as voice output using a speaker. As another example, the user can provide a voice command to the home assistant device to control another device in the home, for example, a command to turn a light bulb on or off. As such, the user and the home assistant device can interact with each other using voice, and the interaction can be supplemented by a server outside of the home providing the answers. However, homes can have different users interacting with the home assistant device within different contextual environments (e.g., from different locations and at different times) within the home.

SUMMARY

Some of the subject matter described herein includes a home assistant device, including: a display screen; a microphone; one or more processors; and memory storing instructions, wherein the one or more processors are configured to execute the instructions such that the one or more processors and memory are configured to: determine that first speech has been spoken in a vicinity of the home assistant device using the microphone; determine a first context of an environment of the home assistant device, the first context of the environment including one or more of a location of a user providing the first speech, a time of the first speech, a user identity corresponding to the user providing the first speech, a skill level with interacting with the home assistant device of the user providing the first speech, a schedule of the user providing the first speech, or characteristics of the first speech; display a first graphical user interface (GUI) for the assistant device on the display screen to provide a response regarding the first speech, the first GUI based on the first context of the environment and content of the first speech; determine that second speech has been spoken in the vicinity of the home assistant device using the microphone, the first speech and the second speech including the same content; determine a second context of an environment of the home assistant device, the second context of the environment including one or more of a location of a user providing the second speech, a time of the second speech, a user identity corresponding to the user providing the second speech, a skill level with interacting with the home assistant device of the user providing the second speech, a schedule of the user providing the second speech, or characteristics of the second speech, the first context and the second context being different; and display a second GUI for the assistant device on the display screen to provide a response regarding the second speech, the second GUI based on the second context of the environment and content of the second speech, the first GUI and the second GUI providing different content.

Some of the subject matter described herein also includes a method for providing a contextual user interface, including: determining, by a processor, that a first speech has been spoken; determining, by the processor, a first context of an environment corresponding to the first speech; providing, by the processor, a first user interface based on the first context of the environment and content of the first speech; determining, by the processor, that a second speech has been spoken, the second speech spoken at a different time than the first speech; determining, by the processor, a second context of the environment corresponding to the second speech, the first context and the second context being different; and providing, by the processor, a second user interface based on the second context of the environment and content of the second speech, the content of the first speech and the second speech being similar, the first user interface and the second user interface being different.

In some implementations, the first context is based on one or both of audio or visual determinations of a surrounding environment of an assistant device that the first speech and the second speech is directed.

In some implementations, the first context includes a first interaction corresponding to the first speech at a first distance, wherein the second context includes a second interaction corresponding to the second speech at a second distance, the first distance and the second distance being different.

In some implementations, the first context includes a first user providing the first speech, the second context includes a second user providing the second speech, the first user and the second user being different.

In some implementations, the first user is associated with a first skill level with interacting with an assistant device, the second user is associated with a second skill level with interacting with the assistant device, the first skill level and the second skill level being different, the first context based on the first skill level, and the second context based on the second skill level.

In some implementations, the first context and the second context include one or more of a user interacting with an assistant device, people in the environment around the assistant device, a time of an interaction with the assistant device, a location of a user interacting with the assistant device, or a skill level of a user interacting with the assistant device.

In some implementations, the method includes: determining, by the processor, a change in the environment; and generating, by the processor, a third user interface based on one or more of the first context or the second context in response to the change in the environment to maintain privacy expectations of one or more users present in the environment.

Some of the subject matter described herein also includes an electronic device, including: one or more processors; and memory storing instructions, wherein the processor is configured to execute the instructions such that the processor and memory are configured to: determine that a first speech has been spoken; determine a first context of an environment corresponding to the first speech; generate a first user interface based on the first context of the environment and content of the first speech; determine that a second speech has been spoken, the second speech spoken at a different time than the first speech; determine a second context of the environment corresponding to the second speech, the first context and the second context being different; and generate a second user interface based on the second context of the environment and content of the second speech, the content of the first speech and the second speech being similar, the first user interface and the second user interface being different.

In some implementations, the first context is based on one or both of audio or visual determinations of a surrounding environment of an assistant device that the first speech and the second speech is directed.

In some implementations, the first context includes a first interaction corresponding to the first speech at a first distance, wherein the second context includes a second interaction corresponding to the second speech at a second distance, the first distance and the second distance being different.

In some implementations, the first context includes a first user providing the first speech, the second context includes a second user providing the second speech, the first user and the second user being different.

In some implementations, the first user is associated with a first skill level with interacting with an assistant device, the second user is associated with a second skill level with interacting with the assistant device, the first skill level and the second skill level being different, the first context based on the first skill level, and the second context based on the second skill level.

In some implementations, the first context and the second context include one or more of a user interacting with an assistant device, people in the environment around the assistant device, a time of an interaction with the assistant device, a location of a user interacting with the assistant device, or a skill level of a user interacting with the assistant device.

In some implementations, the processor is configured to execute the instructions such that the processor and memory are configured to: determine a change in the environment; and generate a third user interface based on one or more of the first context or the second context in response to the change in the environment to maintain privacy expectations of one or more users present in the environment.

Some of the subject matter described herein also includes a computer program product, comprising one or more non-transitory computer-readable media having computer program instructions stored therein, the computer program instructions being configured such that, when executed by one or more computing devices, the computer program instructions cause the one or more computing devices to: determine that a first speech has been spoken; determine a first context of an environment corresponding to the first speech; generate a first user interface based on the first context of the environment and content of the first speech; determine that a second speech has been spoken, the second speech spoken at a different time than the first speech; determine a second context of the environment corresponding to the second speech, the first context and the second context being different; and generate a second user interface based on the second context of the environment and content of the second speech, the content of the first speech and the second speech being similar, the first user interface and the second user interface being different.

In some implementations, the first context is based on one or both of audio or visual determinations of a surrounding environment of an assistant device that the first speech and the second speech is directed.

In some implementations, the first context includes a first interaction corresponding to the first speech at a first distance, wherein the second context includes a second interaction corresponding to the second speech at a second distance, the first distance and the second distance being different.

In some implementations, the first context includes a first user providing the first speech, the second context includes a second user providing the second speech, the first user and the second user being different.

In some implementations, the first user is associated with a first skill level with interacting with an assistant device, the second user is associated with a second skill level with interacting with the assistant device, the first skill level and the second skill level being different, the first context based on the first skill level, and the second context based on the second skill level.

In some implementations, the first context and the second context include one or more of a user interacting with an assistant device, people in the environment around the assistant device, a time of an interaction with the assistant device, a location of a user interacting with the assistant device, or a skill level of a user interacting with the assistant device.

In some implementations, the computer program instructions cause the one or more computing devices to: determine a change in the environment; and generate a third user interface based on one or more of the first context or the second context in response to the change in the environment to maintain privacy expectations of one or more users present in the environment.

Some of the subject matter described herein also includes an electronic device including: a display screen; one or more processors; and memory storing instructions, wherein the processor is configured to execute the instructions such that the processor and memory are configured to: determine a first occurrence of a first activity within an environment of the electronic device; determine a first context of the environment of the electronic device; and display a first graphical user interface (GUI) on the display screen based on the first context of the environment and the first activity.

In some implementations, the first activity is one or more of speech spoken within the environment, or noise generated by an object within the environment.

In some implementations, the processor is configured to execute the instructions such that the processor and memory are configured to: determine a second occurrence of a second activity within the environment of the electronic device; determine a second context of the environment of the electronic device, the first context and the second context being different; and display a second graphical user interface (GUI) on the display screen based on the second context of the environment and the second activity, first content of the first GUI being different than second content of the second GUI.

In some implementations, the first activity and the second activity are similar, and the first content of the first GUI is different than the second content of the second GUI based on differences between the first context of the environment and the second context of the environment.

In some implementations, the first content includes a first number of graphical representations of information or access to functionality provided by the electronic device, the second content includes a second number of graphical representation of information or access to functionality provided by the electronic device, the first number and the second number being different.

In some implementations, the first content includes a first graphical representation of an item providing information or access to functionality provided by the electronic device at a first size, the second content includes a second graphical representation of the item at a second size, the first size and the second size being different.

In some implementations, the first activity is speech spoken within the environment of the electronic device, the first context of the environment including one or more of a location of a user providing the speech, a time of the speech, a user identity corresponding to the user providing the speech, a skill level with interacting with the home assistant device of the user providing the speech, a schedule of the user providing the speech, or characteristics of the speech.

In some implementations, the first GUI includes content responding to the first activity based on the first context.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example of an assistant device providing a user interface based on the context of the environment.

FIG. 2 illustrates an example of a block diagram providing a user interface based on the context of the environment.

FIG. 3 illustrates an example of a block diagram determining the context of the environment of an assistant device.

FIG. 4 illustrates another example of an assistant device providing a user interface based on the context of the environment.

FIG. 5 illustrates an example of an assistant device.

FIG. 6 illustrates an example of a block diagram for adjusting a user interface to maintain privacy expectations.

DETAILED DESCRIPTION

This disclosure describes devices and techniques for providing a user interface for a home assistant device based on the context, or characteristics, of its surrounding environment. In one example, the user interface of the home assistant device (e.g., a graphical user interface (GUI) generated for display on a display screen of the home assistant device) can be different based on a combination of contextual factors of the surrounding environment including the person interacting with the home assistant device, the people in the surrounding environment, the time, the location of the home assistant device within the home, the location of the person interacting with the home assistant device, the presence of strangers, interests of the users, etc. As a result, based on the contextual factors, different content (e.g., information, graphical icons providing access to functionality of the home assistant device, etc.) can be displayed by the home assistant device.

Additionally, the same content can be displayed differently. For example, different languages, visual effects, etc. can be provided based on the context of the environment. In another example, two different users (or even the same user at different times) might ask the same question to the home assistant device. Based on differences within the context of the environment when the question is asked, the user interface can provide the same answers to the question differently.

In more detail, FIG. 1 illustrates an example of an assistant device providing a user interface based on the context of the environment. In FIG. 1, home assistant device 110 can include a microphone (e.g., a microphone array) to receive voice input from users and a speaker to provide audio output in the form of a voice (or other types of audio) to respond to the user. Additionally, home assistant device 110 can include a display screen to provide visual feedback to users by generating a graphical user interface (GUI) providing content for display. For example, a user can ask home assistant device 110 a question and a response to that question can be provided on the display screen. Additional visual components, such as light emitting diodes (LEDs), can also be included. As a result, the user interface can include audio, voice, display screens, lighting, and other audio or visual components. In some implementations, camera 115 can also be included for home assistant device 110 to receive visual input of its surrounding environment. Camera 115 can be physically integrated (e.g., physically coupled with) with home assistant device 110 or camera 115 can be a separate component of a home's wireless network that can provide video data to home assistant device 110.

In FIG. 1, home assistant device 110 can be in a particular location of the home, for example, the kitchen. Different users might interact with home assistant device from different locations within the home (e.g., the kitchen or the living room) and at different times. Additionally, the different users might be interested in different features, functionalities, or information provided by home assistant device 110. These different contextual factors of the environment of home assistant device 110 can result in the user interface of home assistant device 110 to be changed. Because the user interface can provide content such as features, functionalities, information, etc., this can result in different content being displayed on the display screen. That is, different combinations of contextual factors of the environment can result in a different user interface of home assistant device 110, resulting in an adaptive user interface based on context of the environment.

For example, in FIG. 1, user 130 a can be in the kitchen (i.e., in the same room or within close proximity with home assistant device 110) at 11:39 PM in the evening. Home assistant device 110 can recognize user 130 a, for example, using video input from camera 115 to visually verify user 130 a. In another example, home assistant device 110 can recognize user 130 a through speech recognition as user 130 a speaks either to home assistant device 110, to other people, or even himself. User 130 a can also have had previous interactions with home assistant device 110, and therefore, home assistant device 110 can remember the likes or preferences, expectations, schedule, etc. of user 130 a. As a result, user interface 120 a can be generated for user 130 a to interact with home assistant device 110 based on the current context of the environment indicating the user, time, and location that the user is speaking from.

By contrast, user 130 b can be in the living room at 8:30 AM of the same home as home assistant device 110. Because the user, time, and location of the user are different, home assistant device 110 can generate a different user interface 120 b providing a different GUI having different content as depicted in FIG. 1. As a result, user interface 120 b can be different from user interface 120 a because they are provided, or generated, in response to different contextual environments when users 130 a and 130 b speak. This can occur even if the content of the speech provided by users 130 a and 130 b is similar, or even the same. For example, if both users 130 a and 130 b ask the same or similar question (e.g., their speech includes similar or same content such as asking for a list of new restaurants that have opened nearby), the user interface (to respond to the question) that is provided by home assistant device 110 can be different because of the different context of the environments when the speech was spoken.

In another example, because user interface 120 a was generated in the evening, it can have different colors, brightness, or other visual characteristics than display 120 b. This might be done because the user interface should not be too disruptive in different lighting situations. For example, a light sensor (e.g., a photodiode) can be used to determine that a room is dark. Home assistant device 110 can then adjust the brightness of the display screen based on the determined lighting situation in the environment.

Additionally, because users 130 a and 130 b are in different rooms and, therefore, at different distances from home assistant device 110, the user interfaces 120 a and 120 b can be different to take that into account. For example, because user 130 a in FIG. 1 is in the kitchen, he may be relatively close to home assistant device 110 and, therefore, the size of some of the content (e.g., items A-G which can be buttons, icons, text, etc.) of a GUI provided as user interface 120 a can be relatively small. By contrast, because user 130 b is in the living room (i.e., farther away from home assistant device 110 than user 130 a), some of the content of user interface 120 b can be larger so that they can be more easily seen from a distance. For example, in FIG. 1, icons A and F have different sizes among the different user interfaces 120 a and 120 b. That is, content such as the items of the user interfaces that provide access to the same functionality or provide an indication to the same type of information can be different sizes because the contextual environments are different. For example, if users 130 a and 130 b request a listing of new, nearby restaurants, icons A-G might represent a list of some of the identified restaurants. Additionally, the playback of audio can be at a volume based on the distance that a user is from home assistant device 110. For example, a user that is farther away can result in the playback of audio that is at a higher volume than if a user is closer to home assistant device 110.

User interfaces 120 a and 120 b can also be different in other ways. For example, the location of content, the number of content, etc. as depicted in FIG. 1 can also be different due to the different contextual environments.

FIG. 2 illustrates an example of a block diagram providing a user interface based on the context of the environment. In FIG. 2, at block 203, speech can be determined to have been spoken. For example, a microphone of home assistant device 110 can pick up speech spoken within the environment. That speech can be converted into voice data and analyzed by a processor of home assistant device 110 to determine that speech has been received. At block 205, the context of the surrounding environment or vicinity around home assistant device 110 can be determined. For example, home assistant device 110 can determine any of the aforementioned details regarding the environment in the physical space around home assistant device 110 including time, user, prior interactions with the user, locations of the user and home assistant device 110, etc. Any of the details discussed below can also be determined. At block 210, the user interface can be provided or generated based on the determined context and content of the speech. For example, this can include generating a GUI with content related to the content of the speech and provided at various sizes, colors, etc. on a display screen of home assistant device 110 based on the context. In some implementations, the user interface can also include playback of audio (e.g., sounds), turning on various lighting effects (e.g., LEDs), etc. For example, different GUIs with different audio effects can be provided.

Next, home assistant device 110 can pick up more speech at a different time. However, if the context of the environment is different, then a different user interface than that generated at block 210 can be generated. Thus, even if the content of the speech at the two different times was the same, the user interfaces generated can be different if the context of the environment was different.

FIG. 3 illustrates an example of a block diagram determining the context of the environment of an assistant device. In FIG. 3, as previously discussed, the location of the speech can be determined at block 305, the time of the speech can be determined at block 310, and the user providing speech can be determined at block 315 to determine the context of the environment.

Other details can include the skill level of the user at block 320. For example, home assistant device 110 can determine the skill level of a user as they interact more with the user interface. If the user uses more functionality, more complicated functionality, requests significant amount of detail regarding functionality, etc. then the user can be identified by home assistant device 110 as a more sophisticated user. By contrast, if another user tends to ask the same repetitive tasks or questions of home assistant device 110 then the user can be identified as a less sophisticated user. If the user tends to use less complicated functionality, less functionality, or does not request significant detail, then the user can also be identified as a less sophisticated user. In FIG. 1, user 130 a can be a more sophisticated user indicating that the user has a relatively high skill level in using home assistant device 110, and therefore, more functionality (or content) can be provided on user interface 120 a (i.e., items A-G are provided). By contrast, user 130 b can be a less sophisticated user indicating that the user has a relatively lower skill level (than user 130 a), and therefore, less content can be provided on user interface 120 b (i.e., fewer items A, C, D, and F are provided). In some implementations, the same number of content of user interfaces might be provided, but different content corresponding to different functionalities or features might be displayed based on the skill level of the user. Thus, different content can be provided in a user interface of home assistant device 110.

As previously discussed, the user interface can include other visual components other than displaying content as part of a GUI on a display screen. In FIG. 1, this can include lighting, for example, LEDs or other types of lights which can be activated by being turned on, glow, flicker, display a particular color, etc. to provide an indication to a user of a situation. For example, home assistant device 110 can determine a user's schedule at block 325 and provide an indication as to when the user should be leaving the home so that they can maintain that schedule without any tardiness. In FIG. 1, this can result in a ring around the display screen that can be different colors (e.g., implemented with LEDs or other types of lighting), however in other implementations the ring can be part of the display screen itself.

In one example, the ring can be a color corresponding to the traffic or commute status for the user to go to their next expected location, such as the workplace in the morning or a coffee meeting scheduled on their calendar. If the ring is set to a green color, then this can indicate to the user that the traffic is relatively light. By contrast, a red color can indicate that the traffic is relatively heavy. This type of user interface can provide a user with information while they are far away from home assistant device 110 because the colors can be easily seen from a distance. In some implementations, the ring can also indicate whether the user needs to leave soon or immediately if they want to make the next appointment on their schedule. For example, the intensity or brightness of the color can be increased, the ring can be blinking, etc. This can provide further detail from a distance for a user. In some implementations, the user interface can also display on the display screen a route to the location of the next event on their schedule, provide a time estimate, etc. As a result, if the user decides that they want more detail and walks closer to home assistant device 110, information can be readily displayed and available. In some implementations, home assistant device 105 can determine that the user is walking closer after the ring has been activated and then process information and display the additional information on the display screen so that information is available when they are closer.

The user interface can also include audio sounds for playback. For example, user interface 120 a in FIG. 1 might play back one type of audio sound when user 130 a interacts with it, for example, selecting one of the items A-G, requesting user interface 120 a to change (e.g., provide new content), etc. By contrast, user interface 120 b might play back different sounds for the same interactions by user 130 b because of the different context of the environment.

Characteristics regarding the speech received by home assistant device 110 can also be determined at block 330. For example, home assistant device 110 can determine the volume, speed, accent, language, tone, etc. of speech and use that as a contextual factor in providing a user interface. In one example, if a user is speaking quickly (e.g., at a speed or rate determined to be within a words per minute range corresponding to speaking quickly), then content of the user interface may be updated faster than if the user was speaking slowly, for example, by updating the GUI of the user interface sooner. In another example, if the user's speech is determined to be indicative of stress or frustration, then the user interface might provide content differently than if the user's speech is determined to be relatively free of stress or frustration. As an example, if the user is stressed or frustrated, then the amount of content provided on the user interface can be reduced in comparison with the user not being stressed or frustrated.

In some implementations, if the user is determined to be stressed or frustrated, then the user interface can include the playback of music. For example, calming music can be played back using the speaker of home assistant device 110.

In some implementations, the lighting of home assistant device 110 can be different based on what is provided on the user interface. For example, different types of content can result in different brightness, colors, etc.

The user interface can also be changed to account for privacy expectations of a user when the context of the environment changes (i.e., the conditions or characteristics of the environment change). FIG. 4 illustrates another example of an assistant device providing a user interface based on the context of the environment. In FIG. 4, users 130 a, 130 b, and 130 c are within the home environment of home assistant device 110. These different users can be identified and the user interface 120 c in FIG. 4 can be generated to take into account privacy concerns of the various users.

For example, user 130 a might want some content to be provided on a user interface if he is alone, but might not want that content to be displayed if others are within the home. Likewise, user 130 b also might not want some content to be provided. In some implementations, user 130 a might find it acceptable to have the content provided on the user interface even if the presence of user 130 b is detected because user 130 b is a member of the same household. However, user 130 a might want that content to not be displayed if strangers or guests are in the home. User 130 c can be a stranger or newcomer into the home environment and has never interacted with home assistant device 110 and therefore, is unrecognized by home assistant device 110.

Home assistant device 110 can recognize the different users or persons within the home and generate user interface 120 c based on the users 130 a-c. For example, home assistant device 110 can take some details of user interfaces 120 a and 120 b (e.g., user interfaces normally for users 130 a and 130 b, respectively) and generate user interface 120 c in FIG. 4 based on those other user interfaces. That is, user interface 120 c can be generated based on how user interfaces would be generated for users 130 a and 130 b. In FIG. 4, this results in some content of user interface 120 b having a relatively large size (e.g., as in user interface 120 b), but less content than either user interfaces 120 a or 120 b. In some implementations, content that would mutually exist in user interfaces 120 a and 120 b can be provided within user interface 120 c, but content that is only on one of user interfaces 120 a and 120 b might not be provided because it might only appeal to a single user or those users might have different privacy expectations. For example, item B as depicted in user interface 120 a in FIG. 1 might not appear because it is not provided within user interface 120 b in FIG. 1.

In some implementations, upon detection of user 130 c (i.e., a stranger or guest in the environment), the user interface can also be adapted to take into account an unrecognized user. For example, upon detection of an unrecognized user, some content might be removed from a user interface. When the unrecognized user leaves, this can be detected, and therefore, home assistant device 110 can then provide the removed content back with the user interface. As a result, the user's privacy expectations can be maintained when guests are nearby.

Other types of changes in context of the environment other than detection of strangers or guests can include determining differences in time. For example, a user might find it acceptable to display some content on the GUI late at night or early in the morning, but might not want that content displayed during the daytime because the likelihood of others seeing that content might be higher. Another example can include activities of persons within the environment. For example, if several people in the environment are discussing a particular topic, a social gathering is taking place, etc. then perhaps a user's privacy expectations can be elevated and, therefore, some of the content that would otherwise be displayed can be removed.

In some implementations, a user's privacy expectations can be set by that user or learned by home assistant device 110 over time, or a combination of both. For example, the user can indicate that certain content should not be displayed when unrecognized persons are in the environment. As another example, the user might remove content from the GUI and home assistant device 110 can identify the context in the environment when the user removed the content to determine the user's privacy expectations.

FIG. 6 illustrates an example of a block diagram for adjusting a user interface to maintain privacy expectations. In FIG. 6, at block 605, the context of the environment can be determined. For example, the presence of persons including recognized users and/or strangers, the time, activities being performed in the environment, etc. can be determined. At block 607, privacy expectations for a user based on the context can be determined. For example, if a user is within the environment, a GUI providing various content can be provided. However, if strangers or guests are detected within the environment, the user might not want certain content displayed on the GUI due to an increase in privacy concerns resulting in higher privacy expectations for that content. Thus, at block 610, the GUI can be adjusted or modified based on the privacy expectations. For example, the content can be removed due to the increase in privacy expectations while the stranger or guest is present within the environment.

When the stranger or guest leaves, this can be determined as a change in the context of the environment and, therefore, also a change in the privacy expectations for the user. Because the user might be the only person within the environment, the GUI can be modified again to include the content that was previously removed. Thus, if the context of the environment changes and, therefore, the user for whom the GUI is provided has a change in privacy expectations, then the GUI can be adapted.

Many of the examples disclosed herein discuss visual adaptations for the user interface. However, audio adaptations can also be performed based on the context situations described above. For example, the type of voice, accent, volume, etc. can also be adjusted for different user interfaces using the techniques described herein.

Many of the examples disclosed herein discuss speech being recognized. However, other types of audio can also be used with the techniques. For example, noise from objects such as television or radio, a doorbell ringing, a door opening, glass shattering, etc. can also be detected occurrences of activity other than speech.

In some implementations, the content of the user interface can also be changed based on whether or not it is determined that a user is looking at home assistant device 110 or speaking to home assistant device 110. For example, the display screen of home assistant device 110 might be turned off, but can turn on when it is determined that a user is looking at it.

Many of the aforementioned examples discuss a home environment. In other examples, the devices and techniques discussed herein can also be set up in an office, public facility, etc.

FIG. 5 illustrates an example of an assistant device. In FIG. 5, home assistant device 110 can be an electronic device with one or more processors 605 (e.g., circuits) and memory 610 for storing instructions that can be executed by processors 605 to implement contextual user interface 630 providing the techniques described herein. Home assistant device 105 can also include microphone 620 (e.g., one or more microphones that can implement a microphone array) to convert sounds into electrical signals, and therefore, speech into data that can be processed using processors 605 and stored in memory 610. Speaker 615 can be used to provide audio output. Additionally, display 625 can display a GUI implemented by processors 605 and memory 610 to provide visual feedback. Memory 610 can be a non-transitory computer-readable storage media. Home assistant device 110 can also include various other hardware, such as cameras, antennas, etc. to implement the techniques disclosed herein. Thus, the examples described herein can be implemented with programmable circuitry (e.g., one or more microprocessors) programmed with software and/or firmware, or entirely in special-purpose hardwired (non-programmable) circuitry, or in a combination of such forms. Special-purpose hardwired circuitry may be in the form of, for example, one or more application specific integrated circuits (ASICs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), structured ASICs, etc.

Those skilled in the art will appreciate that the logic and process steps illustrated in the various flow diagrams discussed herein may be altered in a variety of ways. For example, the order of the logic may be rearranged, sub-steps may be performed in parallel, illustrated logic may be omitted, other logic may be included, etc. One will recognize that certain steps may be consolidated into a single step and that actions represented by a single step may be alternatively represented as a collection of substeps. The figures are designed to make the disclosed concepts more comprehensible to a human reader. Those skilled in the art will appreciate that actual data structures used to store this information may differ from the figures and/or tables shown, in that they, for example, may be organized in a different manner; may contain more or less information than shown; may be compressed, scrambled and/or encrypted; etc.

From the foregoing, it will be appreciated that specific embodiments of the invention have been described herein for purposes of illustration, but that various modifications can be made without deviating from the scope of the invention. Accordingly, the invention is not limited except as by the appended claims. 

1. A home assistant device, comprising: a display screen; one or more processors; and memory storing instructions, wherein the one or more processors are configured to execute the instructions such that the one or more processors and memory are configured to: determine a first context of an environment of the home assistant device, the first context including a presence of people including a first user and a second user in the environment; determine a first privacy expectation of the first user based on the first context; determine a second privacy expectation of the second user based on the first context; determine that a graphical user interface (GUI) for the first user based on the first privacy expectation includes a first content item and a second content item, and that a GUI for the second user based on the second privacy expectation includes the first content item and not the second content item; generate a graphical user interface (GUI) including the first content item and not the second content item, the first content item providing information or access to functionality of the home assistant device based on the first context and the determination that the GUI for the second user includes the first content item and not the second content item the first privacy expectations; determine a second context of the environment, the second context including the second user no longer within the environment; determine a second privacy expectation of the first user based on the second context, the first privacy expectation and the second privacy expectation being different, the second privacy expectation representing a decrease in privacy concerns of the first user than the first privacy expectation based on the differences between the first context and the second context; and modify the GUI based on the second privacy expectation, modifying the GUI including adding the first content item to from the GUI due to the decrease in privacy concerns represented by the second privacy expectation.
 2. A method for privacy control of a contextual user interface, comprising: determine a first context of an environment of an assistant device, the first context indicating that a first user and a second user are within the environment; determine, by a processor of the assistant device, a first privacy expectation of the first user based on the first context; determine a second privacy expectation of the second user based on the first context; determine similarities of content for a graphical user interface (GUI) generated for the first user based on the first context if the second user is not within the environment and content for a GUI generated for the second user based on the first context if the first user is not within the environment; generate a graphical user interface (GUI) including the similar content providing information or access to functionality of the assistant device.
 3. The method of claim 2, further comprising: determine a second context of the environment, the second context being different than the first context; determine a third privacy expectation of the first user based on the second context, the first privacy expectation and the third privacy expectation being different based on differences between the first context and the second context; and modify the GUI based on the third privacy expectation.
 4. The method of claim 3, wherein modifying the GUI includes removing content providing information or access to functionality of the assistant device.
 5. The method of claim 3, the third privacy expectation representing an increase in privacy concerns of the first user in comparison with the first privacy expectation based on the differences between the first context and the second context.
 6. The method of claim 5, wherein the increase in privacy concerns is based on the second context indicating a presence of a stranger or guest in the environment, the first context not indicating the presence of a stranger or guest in the environment.
 7. The method of claim 6, further comprising: determining that the environment no longer includes the presence of the stranger or guest; and modifying the GUI based on the determination that the environment no longer includes the presence of the stranger or guest.
 8. The method claim 2, wherein the first context includes one or more of a time, a presence of people in the environment, or activities performed by the people in the environment.
 9. An electronic device, comprising: one or more processors; and memory storing instructions, wherein the one or more processors are configured to execute the instructions such that the one or more processors and memory are configured to: determine a first context of an environment of the electronic device, the first context indicating that a first user and a second user are within the environment; determine, by a processor of the electronic device, a first privacy expectation of the first user based on the first context; determine a second privacy expectation of the second user based on the first context; determine similarities of content for a graphical user interface (GUI) generated for the first user based on the first context if the second user is not within the environment and content for a GUI generated for the second user based on the first context if the first user is not within the environment; generate a graphical user interface (GUI) including the similar content providing information or access to functionality of the electronic device.
 10. The electronic device of claim 9, the one or more processors are configured to execute the instructions such that the one or more processors and memory are configured to: determine a second context of the environment, the second context being different than the first context; determine a third privacy expectation of the first user based on the second context, the first privacy expectation and the third privacy expectation being different based on differences between the first context and the second context; and modify the GUI based on the third privacy expectation.
 11. The electronic device of claim 10, wherein modifying the GUI includes removing content providing information or access to functionality of the electronic device.
 12. The electronic device of claim 10, the third privacy expectation representing an increase in privacy concerns of the first user in comparison with the first privacy expectation based on the differences between the first context and the second context.
 13. The electronic device of claim 12, wherein the increase in privacy concerns is based on the second context indicating a presence of a stranger or guest in the environment, the first context not indicating the presence of a stranger or guest in the environment.
 14. The electronic device of claim 13, the one or more processors are configured to execute the instructions such that the one or more processors and memory are configured to: determining that the environment no longer includes the presence of the stranger or guest; and modifying the GUI based on the determination that the environment no longer includes the presence of the stranger or guest.
 15. The electronic device claim 9, wherein the first context includes one or more of a time, a presence of people in the environment, or activities performed by the people in the environment.
 16. A computer program product, comprising one or more non-transitory computer-readable media having computer program instructions stored therein, the computer program instructions being configured such that, when executed by one or more computing devices, the computer program instructions cause the one or more computing devices to: determine a first context of an environment of the computing device, the first context indicating that a first user and a second user are within the environment; determine, by a processor of the electronic device, a first privacy expectation of the first user based on the first context; determine a second privacy expectation of the second user based on the first context; determine similarities of content for a graphical user interface (GUI) generated for the first user based on the first context if the second user is not within the environment and content for a GUI generated for the second user based on the first context if the first user is not within the environment; generate a graphical user interface (GUI) including the similar content providing information or access to functionality of the computing device.
 17. The computer program product of claim 16, wherein the computer program instructions cause the one or more computing devices to: determine a second context of the environment, the second context being different than the first context; determine a third privacy expectation of the first user based on the second context, the first privacy expectation and the third privacy expectation being different based on differences between the first context and the second context; and modify the GUI based on the third privacy expectation.
 18. The computer program product of claim 17, wherein modifying the GUI includes removing content providing information or access to functionality of the computing device.
 19. The computer program product of claim 17, the third privacy expectation representing an increase in privacy concerns of the first user in comparison with the first privacy expectation based on the differences between the first context and the second context.
 20. The computer program product of claim 19, wherein the increase in privacy concerns is based on the second context indicating a presence of a stranger or guest in the environment, the first context not indicating the presence of a stranger or guest in the environment.
 21. The computer program product of claim 20, wherein the computer program instructions cause the one or more computing devices to: determining that the environment no longer includes the presence of the stranger or guest; and modifying the GUI based on the determination that the environment no longer includes the presence of the stranger or guest.
 22. The computer program product claim 16, wherein the first context includes one or more of a time, a presence of people in the environment, or activities performed by the people in the environment. 